package cn.est.service;

import cn.est.dto.Page;
import cn.est.pojo.MaintainOrder;
import cn.est.pojo.PayOrder;

import java.util.List;
import java.util.Map;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface PayOrderService {

    public PayOrder getPayOrderById(Long id);

    public List<PayOrder> getPayOrderListByMap(Map<String, Object> param);

    public Integer getPayOrderCountByMap(Map<String, Object> param);

    public Integer qdtxAddPayOrder(PayOrder payOrder);

    public Integer qdtxModifyPayOrder(PayOrder payOrder);

    public Integer qdtxDeletePayOrderById(Long id);

    public Integer qdtxBatchDeletePayOrder(String ids);

    public Page<PayOrder> queryPayOrderPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);

    public PayOrder save(MaintainOrder maintainOrder, Integer type);

    public void finishPay(PayOrder payOrder,String aliTradeNo);
}
